package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户紧急联系人
 * </p>
 *
 * @author liliping
 * @since 2019-03-21
 */
@TableName("tb_user_contact")
public class TbUserContact implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id")
	private Long id;

	/**
	 * 用户编号
	 */
	@TableField(value="user_id")
	private String userId;

	/**
	 * 联系人
	 */
	@TableField(value="contact_name")
	private String contactName;

	/**
	 * 手机号
	 */
	private String phone;

	/**
	 * 关系
	 */
	@TableField(value="relation_ship")
	private Integer relationShip;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 数据状态\n0：删除\n1：正常
	 */
	@TableField(value="data_status")
	private Integer dataStatus;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getRelationShip() {
		return relationShip;
	}

	public void setRelationShip(Integer relationShip) {
		this.relationShip = relationShip;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

}
